package com.jiyun.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiyun.dto.GoodsDto;
import com.jiyun.entity.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 聪哥哥
 * @since 2024-10-16
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    Page<GoodsDto> findPage(Page<GoodsDto> goodsPage, @Param("goods") GoodsDto goodsDto);


    List<GoodsDto> findList();
}
